# @Time : 2025-01-14 10:25
# @Author : Fioman
# @Phone : 13149920693
"""
Eap下发的工单记录表
"""
from db_tool.db_config import TableName, TableRegister, re_init_table

tableName: str = TableName.eapOrders.name
initData = {
    "taskId": 0,
    "recipe_name": "",
    "lot_id": "",
    "pn_id": "",
    "panel_count": 0,
    "height": 0,
    "width": 0,
    "created_at": ""
}

TableRegister.register_table(tableName, initData)

if __name__ == '__main__':
    # 重新创建表结构,或者新增表字段之后,重新初始化表内容,谨慎使用
    re_init_table(tableName, initData)

